﻿<%@ Page Title="TodayTreatment" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="TodayTreatment.aspx.cs" Inherits="WebApplication2.About"  EnableEventValidation = "false"%>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <style>
    .gridview1 tr td
        {
            border: 1px solid #CC9966;
        }
</style>
     <asp:GridView AutoGenerateColumns="False" CssClass="gridview1" runat="server" ID="GridView1" BackColor="White" BorderColor="#3366CC" BorderWidth="1px" CellPadding="4" onrowdatabound="GridView1_RowDataBound"  OnSelectedIndexChanged="OnSelectedIndexChanged" BorderStyle="None" Font-Names="Calibri" Font-Size="Small" >
   <Columns>
       <asp:BoundField DataField="Patient_Name" HeaderStyle-BorderColor="#CC9966" HeaderStyle-BorderWidth="1px" HeaderStyle-BorderStyle="Solid" />
       <asp:BoundField DataField="MRN" HeaderStyle-BorderColor="#CC9966" HeaderStyle-BorderWidth="1px" HeaderStyle-BorderStyle="Solid" />
       <asp:BoundField DataField="PrimaryID" HeaderStyle-BorderColor="#CC9966" HeaderStyle-BorderWidth="1px" HeaderStyle-BorderStyle="Solid" />
       <asp:BoundField DataField="Sex"  HeaderStyle-BorderColor="#CC9966" HeaderStyle-BorderWidth="1px" HeaderStyle-BorderStyle="Solid"/>
       <asp:BoundField DataField="Chair_Name"  HeaderStyle-BorderColor="#CC9966" HeaderStyle-BorderWidth="1px" HeaderStyle-BorderStyle="Solid"/>
       <asp:BoundField DataField="Dialysis_Start_Time2" HeaderStyle-BorderColor="#CC9966" HeaderStyle-BorderWidth="1px" HeaderStyle-BorderStyle="Solid" />
       <asp:BoundField DataField="current_dry_weight" HeaderStyle-BorderColor="#CC9966" HeaderStyle-BorderWidth="1px" HeaderStyle-BorderStyle="Solid" />
       <asp:BoundField DataField="pre_weight"  HeaderStyle-BorderColor="#CC9966" HeaderStyle-BorderWidth="1px" HeaderStyle-BorderStyle="Solid"/>
       <asp:BoundField DataField="post_weight" HeaderStyle-BorderColor="#CC9966" HeaderStyle-BorderWidth="1px" HeaderStyle-BorderStyle="Solid" />
       <asp:BoundField DataField="type" HeaderStyle-BorderColor="#CC9966" HeaderStyle-BorderWidth="1px" HeaderStyle-BorderStyle="Solid" />
       <asp:BoundField DataField="order1" HeaderStyle-BorderColor="#CC9966" HeaderStyle-BorderWidth="1px" HeaderStyle-BorderStyle="Solid"/>
       <asp:BoundField DataField="isNoData" HeaderStyle-BorderColor="#CC9966" HeaderStyle-BorderWidth="1px" HeaderStyle-BorderStyle="Solid"/>
       <asp:TemplateField HeaderText="View" HeaderStyle-BorderColor="#CC9966" HeaderStyle-BorderWidth="1px" HeaderStyle-BorderStyle="Solid">       
       <ItemTemplate>
       <asp:LinkButton runat="server" ID="lnkView" OnClick="lnkView_Click">1</asp:LinkButton>
         </ItemTemplate>
       </asp:TemplateField>

   </Columns>
         <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
         <HeaderStyle BackColor="#000099" Font-Bold="True" ForeColor="#CCCCFF" />
         <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
         <RowStyle BackColor="#CCFFFF" ForeColor="Black" />
         <SelectedRowStyle BackColor="#009999" ForeColor="#CCFF99" Font-Bold="True" />
         <SortedAscendingCellStyle BackColor="#EDF6F6" />
         <SortedAscendingHeaderStyle BackColor="#0D4AC4" />
         <SortedDescendingCellStyle BackColor="#D6DFDF" />
         <SortedDescendingHeaderStyle BackColor="#002876" />
</asp:GridView>
    
      <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
    <script type="text/javascript">
        $(function () {
            $("[id*=GridView1] td").hover(function () {
                $("td", $(this).closest("tr")).addClass("hover_row");
            }, function () {
                $("td", $(this).closest("tr")).removeClass("hover_row");
            });
        });
    </script>
 

    
</asp:Content>